﻿using System;

class SumFibonacciMembers
{
    static void Main()
    {
        int numberN;

        Console.WriteLine("Type a number Nth Fibonacci member:");
        bool isNumberValid = int.TryParse(Console.ReadLine(), out numberN);
        int numberMinusTwo = 0;
        int numberMinusOne = 1;

        Console.Write("0, 1");
        if (isNumberValid)
        {
            for (int i = 2; i < numberN; i++)
            {
                int number = numberMinusTwo + numberMinusOne;
                Console.Write(", "+number);
                numberMinusTwo = numberMinusOne;
                numberMinusOne = number;
            }
            Console.WriteLine();
        }
        else
        {
            Console.WriteLine("Your input isn`t OK!!!");
        }
    }
}